import { Link, Outlet } from "react-router-dom";

const HomeList = () => {
    return (
        <>
            <ul className='list-group'>
                <li className='list-group-item'>
                    <Link to='/home/list/1'>第一项</Link>
                </li>
                <li className='list-group-item'>
                    <Link to='/home/list/2'>第二项</Link>
                </li>
                <li className='list-group-item'>
                    <Link to='/home/list/3'>第三项</Link>
                </li>
                <li className='list-group-item'>
                    <Link to='/home/list/4'>第四项</Link>
                </li>
            </ul>
            <Outlet />
        </>
    );
};

export default HomeList;
